import { RouteRecordRaw } from 'vue-router'
// import { isLogin } from '@/utils/permission'

const route: RouteRecordRaw = {
  path: '/history',
  name: 'History',
  component: () => import('@/views/History/index.vue'),
  children: [],
  // beforeEnter(to, from, next) {
  //   if (isLogin()) {
  //     next()
  //   } else {
  //     next(from.fullPath)
  //   }
  // },
}

export default route
